<?php
 /* Description for file.
 * 默认layout
 *
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/webroot/css
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    张海杰 20100531
 * @lastmodified  张海杰 20100728
 */
if(@$special_action != 'top' && @$special_action != 'left' && @$special_action != 'main' ) {
	echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>';
	 	echo $html->charset('UTF-8');
	 	echo $html->meta(array('http-equiv'=>'X-UA-Compatible','content'=>'IE=EmulateIE7'));
	 	echo $html->css ( 'main' );
		echo $html->css ( 'style' );
		echo $javascript->link ( 'backspace_enter' );
		echo $javascript->link ( 'jquery' );
		echo $javascript->link ( 'jquery-validate/jquery.validate');
		echo $javascript->link ( 'jquery-validate/lib/jquery.metadata');
		echo $javascript->link ( 'jquery-validate/lib/jquery.form');
		echo $javascript->link ( 'jquery-validate/additional-methods');
		echo $javascript->link ( 'jquery-validate/localization/messages_cn');
	echo '<title>UNITOP 招聘管理平台</title>
	</head><script>var root_web_path="'.ROOT_WEB_PATH.'";function window_location_href(url) {window.location = url;}function app_open(url){window.open(url);}$(function(){jQuery(".btn2").hover(function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn45_over.gif)");
						}, function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn45.gif)");
						});jQuery(".btn4").hover(function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn75_2.gif)");
						}, function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn75.gif)");
						});jQuery(".btn5").hover(function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn5_2.gif)");
						}, function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn5.gif)");
						});jQuery(".btn6").hover(function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn6_2.gif)");
						}, function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn6.gif)");
						});jQuery(".btn7").hover(function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn7_2.gif)");
						}, function(){
						$(this).css("backgroundImage","url('.ROOT_WEB_PATH.'/image/btn7.gif)");
						});});</script>
	<body>
	<div id="container">';
		 $session->activate(); 
		 $session->flash(); 
		echo '<div id="content">';
		echo	  $content_for_layout; 
	echo '</div>
	</div>
	</body>
	</html>';
} else {
	echo	  $content_for_layout;
} 
?>